
<?$this->load->view('admin/tools/admin-header')?>
<div class="wrap">


<div id="dashboard-widgets-wrap">

<?
if($mode=="foto"){
?>
	<h3><a>Upload Suksess ...</a></h3>
	<ul><li><img src="<?=base_url()?>pictures/<?=$upload_foto['file_name'];?>" width="150" height="150"></li></ul>
<table width="700" cellspacing="6" style="color:#FF0000;">
	<tr><td width="8%"><b>Nama</b></td><td width="50%"><b><?=$nama?></b></td></tr>
	<tr><td><b>File Type</b></td><td><b><?=$upload_foto['file_type']?></b></td></tr>
	<tr><td><b>Size</b></td><td><b><?=$upload_foto['file_size']?> KB</b></td></tr>
	<tr><td><b>Org Name</b></td><td><b><?=$upload_foto['file_name']?></b></td></tr>
	
	<?
	$query4 = $this->db->query("SELECT * FROM tbl_album_gambar WHERE id=$album_id");
				$field = $query4->row(); 
				$nama_album = $field->nama_album;
	echo("<tr><td><b>Album</b></td><td><b>$nama_album</b></td></tr>");
	?>
</table>
	<p><?php echo anchor('administrator/mng_gallery','kembali'); ?></p>
	
<?}?>

<?
if($mode=="album"){
?>
	<h3><a><img src="<?=base_url()?>css/icon/apply.png"> Album " <?=$nama;?> " Sukses dibuat</a></h3>
	<ul><li><img src="<?=base_url()?>pictures/album_cover/<?=$make_album['file_name'];?>" width="128" height="128"></li></ul>

	<p><?php echo anchor('administrator/mng_gallery','kembali'); ?></p>
<?}?>
</div>
</div><!-- wrap -->


<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->
</div><!-- wpwrap -->

<!--admin-footer-->
<?$this->load->view('admin/tools/admin-footer');?>
<!--admin-footer-->
